#include "Vector.h"

namespace baker
{
    //--------------------------------------------------------------------------
    Vec2::Vec2( void )
    {
    }

    //--------------------------------------------------------------------------
    Vec2::Vec2( real x
              , real y
              )
    {
        v[0] = x;
        v[1] = y;
    }

    //--------------------------------------------------------------------------
    Vec3::Vec3( void )
    {
    }

    //--------------------------------------------------------------------------
    Vec3::Vec3( real x
              , real y
              , real z
              )
    {
        v[0] = x;
        v[1] = y;
        v[2] = z;
    }

    //--------------------------------------------------------------------------
    Vec3::Vec3  ( const Vec2 & xy
                , real z
                )
    {
        v[0] = xy.v[0];
        v[1] = xy.v[1];
        v[2] = z;
    }

    //--------------------------------------------------------------------------
    //--------------------------------------------------------------------------
    //--------------------------------------------------------------------------
}
